package app.qrcode.browser.vacablarydemo.model.db

import android.content.Context
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteOpenHelper
import app.qrcode.browser.vacablarydemo.model.dao.VocabularyTab

/**
 * Created by YiGo on 2022/4/19.
 */
class VocabularyDB(context: Context, name: String, version: Int) :
    SQLiteOpenHelper(context, name, null, version) {
    override fun onCreate(db: SQLiteDatabase) {
        db.execSQL(VocabularyTab.CREATE_TAB)
    }

    override fun onUpgrade(db: SQLiteDatabase, oldVersion: Int, newVersion: Int) {
    }
}